package com.iot.entity;

import java.util.Date;

import com.alibaba.fastjson.JSONArray;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Dermot123
 * @since 2024-02-27
 */
@TableName("competition_nano")
@Data
public class CompetitionNano implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 纳米数据ID
     */
    @TableField("id")
    private Long id;
    /**
     * 赛事id
     */
    @TableField("competition_id")
    private Integer competitionId;
    /**
     * 赛季id列表
     */
    @TableField("season_ids")
    private JSONArray seasonIds;
    /**
     * 赛制说明
     */
    private String text;
    /**
     * 创建时间
     */
    @TableField("updated_at")
    private Date updatedAt;
    /**
     * 更新时间
     */
    @TableField("created_at")
    private Date createdAt;

}
